package com.sx.art2.beans;

import java.util.List;

public class Art {
	
	private int artId;//艺术品id
	private String artName;
	private Integer categoryId;
	private float artCost;
	private String artSize;
	private String artPic;
	private String artIntroduce;
	private String artAdddate;
	private int artSum;
	private int artState;//1.上架2.下架		
	private Category category;
	
	private List<Auction> auction;
	public Art() {
		super();
		// TODO 自动生成的构造函数存根
	}



	public String getArtName() {
		return artName;
	}


	public void setArtName(String artName) {
		this.artName = artName;
	}


	


	public Integer getCategoryId() {
		return categoryId;
	}



	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}



	public float getArtCost() {
		return artCost;
	}


	public void setArtCost(float artCost) {
		this.artCost = artCost;
	}


	public String getArtSize() {
		return artSize;
	}


	public void setArtSize(String artSize) {
		this.artSize = artSize;
	}


	public String getArtPic() {
		return artPic;
	}


	public void setArtPic(String artPic) {
		this.artPic = artPic;
	}


	public String getArtIntroduce() {
		return artIntroduce;
	}


	public void setArtIntroduce(String artIntroduce) {
		this.artIntroduce = artIntroduce;
	}


	public String getArtAdddate() {
		return artAdddate;
	}


	public void setArtAdddate(String artAdddate) {
		this.artAdddate = artAdddate;
	}


	public int getArtSum() {
		return artSum;
	}


	public void setArtSum(int artSum) {
		this.artSum = artSum;
	}


	public int getArtState() {
		return artState;
	}


	public void setArtState(int artState) {
		this.artState = artState;
	}

	public Category getCategory() {
		return category;
	}


	public void setCategory(Category category) {
		this.category = category;
	}



	public List<Auction> getAuction() {
		return auction;
	}



	public void setAuction(List<Auction> auction) {
		this.auction = auction;
	}
	public int getArtId() {
		return artId;
	}
	

	public void setArtId(int artId) {
		this.artId = artId;
	}
	
	public Art(int artId, String artName, Integer categoryId, float artCost, String artSize, String artPic,
			String artIntroduce, String artAdddate, int artSum, int artState, Category category,
			List<Auction> auction) {
		super();
		this.artId = artId;
		this.artName = artName;
		this.categoryId = categoryId;
		this.artCost = artCost;
		this.artSize = artSize;
		this.artPic = artPic;
		this.artIntroduce = artIntroduce;
		this.artAdddate = artAdddate;
		this.artSum = artSum;
		this.artState = artState;
		this.category = category;
		this.auction = auction;
	}



	@Override
	public String toString() {
		return "Art [artId=" + artId + ", artName=" + artName + ", categoryId=" + categoryId + ", artCost=" + artCost
				+ ", artSize=" + artSize + ", artPic=" + artPic + ", artIntroduce=" + artIntroduce + ", artAdddate="
				+ artAdddate + ", artSum=" + artSum + ", artState=" + artState + ", category=" + category + ", auction="
				+ auction + "]";
	}



	

}
